#pragma once
#include <ntifs.h>

NTSTATUS SearchPatternInMemory(
	IN PVOID StartAddress,
	IN ULONG SearchLength,
	IN PCSTR Pattern,
	OUT PVOID *ResultAddr);

NTSTATUS ShellCodeToAddress(
	IN PVOID StartAddress,
	IN ULONG SearchLength,
	IN PCSTR Pattern,
	OUT PVOID* FoundAddress);